import request from '../../utils/request';

// 会员埋点管理相关 API

// 获取会员埋点数据
export const getMemberMetrics = (memberId: string) => {
    return request({
        url: `/member/api/metrics/get/${memberId}`,
        method: 'get'
    });
};

// 上报会员埋点数据
export const reportMemberMetrics = (data: any) => {
    return request({
        url: '/member/api/metrics/report',
        method: 'post',
        data
    });
};
